package cn.com.yusys.yusp.admin.service;

import java.util.List;
import java.util.Map;

import cn.com.yusys.yusp.commons.mapper.QueryModel;

/**
 * 迁移yusp-app-message-core工程中的orgService类
 * 
 * @author Cytus_
 * @since 2019年1月22日 下午4:03:10
 * @version 1.0
 */
public interface AdminUserService{
    
	public List<Map<String,Object>> selectAllUser(QueryModel queryModel);
	public List<Map<String,Object>> selectAllOrg(QueryModel queryModel);
	public List<Map<String,Object>> selectAllRole(QueryModel queryModel);
	public List<Map<String,Object>> selectAllDuty(QueryModel queryModel);
	
	/**
	 * 以下接口为本次迁移后新增 add by Cytus_ at 20190122 16:04:22 start 
	 */
	
	public List<Map<String,Object>> selectUserInfo(String loginCode);
    
    public List<String> selectOrgUser(String orgId);
    public List<String> selectRoleUser(String roleCode);
    public List<String> selectDutyUser(String dutyCde);
    
    public List<String> selectUserOrg(String userId);
    public List<String> selectOrgsUsers(List<String> orgIds);
    public List<String> selectUpOrg(String orgId);
    public List<String> selectUpOrgOrgs(String orgId);
    
    /**
     * 以上接口为本次迁移后新增 add by Cytus_ at 20190122 16:04:22 end 
     */
    
}
